/**
 * 
 */
package com.yixun.qfbao.api.service;

import com.yixun.qfbao.apidto.*;
import com.yixun.qfbao.model.EstateAdviser;

import java.util.List;

/**
 * @author yuefei.chen
 *
 */
public interface EstateAdviserService {
	
	/**
	 * 批量添加楼盘置业顾问
	 * @param batchAddEstateAdviserReqDto
	 * @return
	 */
	BatchAddEstateAdviserResDto batchAddEstateAdviser(BatchAddEstateAdviserReqDto batchAddEstateAdviserReqDto);

	/**
	 * 根据楼盘ID列出置业顾问
	 * @param params
	 * @return
	 */
	ListEstateAdviserByPremisesIdResDto listEstateAdviserByPremisesId(ListEstateAdviserByPremisesIdReqDto params);

	/**
	 * v10调用列出置业顾问
	 * @param params
	 * @return
	 */
	ListEstateAdviserByPremisesIdResDto listEstateAdviserByPremisesId(
			com.yixun.qfbao.apidto.v10dto.Listv10EstateAdviserByPremisesIdReqDto params);

	int deleteEstateAdviserById(Long adviserId);

	int changeCPAdviser(ChangeCPAdviserReqDto reqDto);

	int getCPCountByAdviser(GetCPCountByAdviserReqDto reqDto);

	EstateAdviser getAdviserByUuid(String uuid);

	List<EstateAdviser> selectListByPartner(Long partnerId);
	
	List<EstateAdviser> selectListByPartnerAndPremises(Long partnerId, List<Long> premisesIds);

	EstateAdviser add(EstateAdviser record);

	EstateAdviser selectOne(EstateAdviser record);
}
